<%@ page contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<div class="alert alert-yellow">
  流程进度监控
</div>
<table class="table table-striped table-bordered table-condensed table-hover ">
  <thead>
  <tr>
  <th>流程</th>
  <th>步骤</th>
  <th>业务</th>
  <th>操作</th>
  <th>开始日期</th>
  <th>结束日期</th>
  <th>状态</th>
  </tr>
  </thead>
  <tbody>
    <c:forEach items="${pager.rows}" var="row" varStatus="vs">
    <tr>
       <td>${row.workflowName}
         <span class="label label-inverse">${workflowId }</span>
       </td>
       <td>${row.stepName}</td>
       <td>
          <span  class="label ${row.status=='Finished'?'label-warning':'label-info'}">
          ${row.actionName }
          </span>
          <i class="${vs.index>0?'icon-arrow-down':'icon-arrow-right'}"></i>
          
          
          </td>
       <td>${row.owner}</td>
       <td>${row.startDate}</td>
       <td>${row.finishDate }</td>
       <td>
          <span class="label ${row.status=='Finished'?'label-warning':'label-info'}">
               ${row.status=='Finished'?'完成':'在办'}
          </span> </td>
    </tr>
    
    
    </c:forEach>
    
  
  </tbody>
  </table>
  <script type="text/javascript" src="${base }scripts/apps/workflow/util.js"></script>